import { login, attentionUser, unfollow, userInformation, personalData, uploadUserIcon, editAccountInfo, refreshToken } from './user' // 用户
import { getUserChanne, getChannel, getChannelArticle, addChannel, removeUserChannel } from './channel' // 频道
import { articleUnconcern, informChannel, articleDetails, articleLike, cancelLike } from './news' // 新闻
import { thinkSearch, searchResult } from './search' // 搜索
import { allArticlesDiscuss, discussCancelLike, discussLike, releaseDiscuss } from './discuss' // 评论

// 用户 -> 登录
export const loginApi = login

// 用户 -> 关注
export const attentionUserApi = attentionUser

// 用户 -> 取消关注
export const unfollowApi = unfollow

// 用户 -> 个人信息
export const userInformationApi = userInformation

// 用户 -> 个人资料
export const personalDataApi = personalData

// 用户 -> 上传头像
export const uploadUserIconApi = uploadUserIcon

// 用户 -> 编辑个人信息
export const editAccountInfoApi = editAccountInfo

// 用户 -> 刷新token
export const refreshTokenApi = refreshToken

//

// 获取用户的频道 不登录获取推荐的频道
export const getUserChanneApi = getUserChanne

// 获取所有频道
export const getChannelApi = getChannel

// 添加频道
export const addChannelApi = addChannel

// 删除用户频道
export const removeUserChannelApi = removeUserChannel

// 获取频道文章
export const getChannelArticleApi = getChannelArticle

//

// 文章 -> 不感兴趣
export const articleUnconcernApi = articleUnconcern

// 文章 -> 举报
export const informChannelApi = informChannel

// 文章 -> 获取详情
export const articleDetailsApi = articleDetails

// 文章 -> 点赞
export const articleLikeApi = articleLike

// 文章 -> 取消点赞

export const cancelLikeApi = cancelLike

//

// 评论 -> 获取文章评论
export const allArticlesDiscussApi = allArticlesDiscuss

// 评论 -> 取消点赞
export const discussCancelLikeApi = discussCancelLike

// 评论 -> 点赞
export const discussLikeApi = discussLike

// 评论 -> 发布评论
export const releaseDiscussApi = releaseDiscuss

//

// 搜索 -> 联想搜索
export const thinkSearchApi = thinkSearch

// 搜索 -> 搜索结果列表
export const searchResultApi = searchResult
